package cn.youqu.happy.module.youqu.convert.systemActivity;

import java.util.*;

import cn.youqu.happy.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.youqu.happy.module.youqu.controller.admin.systemActivity.vo.*;
import cn.youqu.happy.module.youqu.dal.dataobject.systemActivity.SystemActivityDO;

/**
 * 系统活动模板 Convert
 *
 * @author 王其岩  20112001045
 */
@Mapper
public interface SystemActivityConvert {

    SystemActivityConvert INSTANCE = Mappers.getMapper(SystemActivityConvert.class);

    SystemActivityDO convert(SystemActivityCreateReqVO bean);

    SystemActivityDO convert(SystemActivityUpdateReqVO bean);

    SystemActivityRespVO convert(SystemActivityDO bean);

    List<SystemActivityRespVO> convertList(List<SystemActivityDO> list);

    PageResult<SystemActivityRespVO> convertPage(PageResult<SystemActivityDO> page);

    List<SystemActivityExcelVO> convertList02(List<SystemActivityDO> list);

}
